package com.github.pudding.mq;

import org.apache.rocketmq.client.producer.LocalTransactionState;
import org.apache.rocketmq.client.producer.TransactionListener;
import org.apache.rocketmq.common.message.Message;
import org.apache.rocketmq.common.message.MessageExt;
import org.springframework.stereotype.Service;

/**
 * @author Stephen
 * @since 2018/9/12
 */
@Service("transactionListener")
public class TransactionListenerImpl implements TransactionListener {



    @Override
    public LocalTransactionState executeLocalTransaction(Message msg, Object arg) {

        return null;
    }

    @Override
    public LocalTransactionState checkLocalTransaction(MessageExt msg) {

        return null;
    }
}
